<%@ taglib uri="/WEB-INF/tld/struts-html.tld"   prefix="html"%>

<div class="tab-page">
		<div id="subPages" class="disabled link-row">
			<table class="wide-table">
				<tr>
					<td width="780" height="10">
							<H2>User Login</H2>
					</td>
				</tr>
			</table>
		</div>
		<A href="<html:rewrite page='/populateDatabase.do'/>">Click Here</A> to populate the database. <BR><BR>
	
		&nbsp;Please login below or <A href="<html:rewrite page='/registrationPage.do'/>">click here</A> to register
	<table cellpadding="0" cellspacing="0" border="0">
	<tr>
   <td colspan="2">
   		
	    <fieldset class="documentSection">
			<legend title="User Information" class="documentSection">
		          	Login information
	        </legend>

        	<div id="Information" class="documentSection" title="User information">
        	<html:form action="/login">
		<table cellpadding="0" cellspacing="0" border="0">
	        <tr>
                   <td valign="top">
	              <table border="0">
              	      <tr>
	                 <td>
                           <label for="8"><font size="2">Username:</font></label>

	                 </td>
	                 <td>
		             	<html:text property="userProfileUsername" size="20"/>
	                 </td>
                      </tr>

		      		<tr>
	                 <td>
                             <label for="10"><font size="2">Password:</label>

	                 </td>
	                 <td>
		            	<html:text property="userProfilePassword" size="20"/>
                         </td>
                     </tr>
                            </table>
                   </td>
                   </tr>
                   </table>
                   </html:form>
			</fieldset>

	</div>
	<table width="780" border="0">
		<tr>
			<td colspan="2">&nbsp;
				<button name="save" id="5" enabledMode="" accesskey="L"
					class="imageButton" type="button"
					onclick="javascript:document.LoginForm.submit()" onmouseout="javascript:className='imageButton';" onmouseover="javascript:className='activeImageButton';" >
					<IMG src="<html:rewrite page='/images/goto.gif'/>" alt="Register"><IMG src="<html:rewrite page='/images/space.gif'/>" height="20" width="1">
					<span class="underline">L</span>ogin
				</button>
			</td>
		</tr>
	</table>
<BR>